<%@ page language="java" contentType="text/html; charset=UTF-8" trimDirectiveWhitespaces="true" pageEncoding="UTF-8"%>
<%@ page import="java.util.Date"%>
<%@ include file="admin.inc.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统管理</title>
<link href="${styleContextPath}/styles/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${styleContextPath}/styles/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${styleContextPath}/styles/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print" />
<link href="${styleContextPath}/styles/validationEngine/css/validationEngine.jquery.css" rel="stylesheet" type="text/css"
   media="screen" />
<link href="${styleContextPath}/styles/ztree/css/zTreeStyle.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${styleContextPath}/styles/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${styleContextPath}/styles/dwz/themes/css/override.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${styleContextPath}/styles/dwz/themes/css/new.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE]>
<link href="${styleContextPath}/styles/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
<!--[if lte IE 9]>
<script src="${styleContextPath}/styles/dwz/js/speedup.js" type="text/javascript"></script>
<![endif]-->
<script src="${styleContextPath}/styles/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="${styleContextPath}/styles/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
<%-- Form验证 --%>
<script src="${styleContextPath}/styles/validationEngine/js/languages/jquery.validationEngine-zh_CN.js"
   type="text/javascript" charset="utf-8"></script>
<script src="${styleContextPath}/styles/validationEngine/js/jquery.validationEngine-2.6.4.js" type="text/javascript"
   charset="utf-8"></script>
<script src="${styleContextPath}/styles/dwz/js/dwz.min.js" type="text/javascript"></script>
<script src="${styleContextPath}/styles/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<%-- 自定义JS --%>
<script src="${styleContextPath}/styles/dwz/js/customer.js" type="text/javascript"></script>
<%-- upload --%>
<script src="${styleContextPath}/styles/uploadify/scripts/jquery.uploadify.min.js" type="text/javascript"></script>
<%-- zTree --%>
<script src="${styleContextPath}/styles/ztree/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
<%-- my97datepicker --%>
<script src="${styleContextPath}/js/my97datepicker/WdatePicker.js" type="text/javascript"></script>

<script src="${styleContextPath}/styles/xheditor/xheditor-1.2.1.min.js" type="text/javascript"></script>
<script src="${styleContextPath}/styles/xheditor/xheditor_lang/zh-cn.js" type="text/javascript"></script>
<script src="${styleContextPath}/styles/uploadify/scripts/jquery.uploadify.js" type="text/javascript"></script>
<script src="${styleContextPath}/styles/ichart/ichart.1.2.min.js" type="text/javascript" ></script>
<script type="text/javascript">
var lastTabId;
<!--
	$(function() {
		// 通过服务器访问来初始化
		DWZ.init("${styleContextPath}/styles/dwz/dwz.frag.xml", {
			loginUrl : "${styleContextPath}/login/timeout",
			loginTitle : "登录", // 弹出登录对话框
			debug : false, // 调试模式 【true|false】
			callback : function() {
				initEnv();
				$("#themeList").theme({
					themeBase : "${styleContextPath}/styles/dwz/themes"
				});
			}
		});
	});
//-->
</script>
</head>
<body scroll="no">
   <div id="layout">
      <div id="header">
         <div class="headerNav">
            <a class="logo" style="display:none;margin-left:20px;margin-top:5px;background-size:40px 40px;" href="#">Logo</a>
            <ul class="nav">
               <%-- 				<li><a href="${styleContextPath}/index">主页</a></li> --%>
               <%-- 				<li><a href="${styleContextPath}/management/index/updateBase" target="dialog" mask="true" width="550" height="250">修改用户信息</a></li> --%>
               <%-- 				<li><a href="${styleContextPath}/management/index/updatePwd" target="dialog" mask="true" width="500" height="200">修改密码</a></li> --%>
               <li>
               		<a href="${webContextPath}/admin/admin/toUpdatePwd?name=${user}" target="dialog" mask="true" width="500" height="200">修改密码</a>
               	</li>
               <li>
                  <a href="${webContextPath}/admin/login/logout">退出</a>
               </li>
            </ul>
         </div>
      </div>
      <div id="leftside">
         <div id="sidebar_s">
            <div class="collapse">
               <div class="toggleCollapse">
                  <div></div>
               </div>
            </div>
         </div>
         <div id="sidebar">
            <div class="toggleCollapse">
               <h2>菜单</h2>
               <div>collapse</div>
            </div>
            <div class="accordion" fillSpace="sideBar">
               <c:forEach var="level1" items="${menuModule.children }">
                  <div class="accordionHeader">
                     <h2>
                        <span>Folder</span>${level1.name}</h2>
                  </div>
                  <div class="accordionContent">
                     <ul class="tree treeFolder expand">
                        <c:forEach var="level2" items="${level1.children}">
                           <li>
                              <keta:navTabLink module="${level2}" urlPrefix="${webContextPath}" />
                              <keta:menuAccordion child="${level2}" urlPrefix="${webContextPath}" />
                           </li>
                        </c:forEach>
                     </ul>
                  </div>
               </c:forEach>
            </div>
         </div>
      </div>
      <div id="container">
         <div id="navTab" class="tabsPage">
            <div class="tabsPageHeader">
               <div class="tabsPageHeaderContent">
                  <!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                  <ul class="navTab-tab">
                     <li tabid="main" class="main">
                        <a href="javascript:void(0)">
                           <span><span class="home_icon">主页</span></span>
                        </a>
                     </li>
                  </ul>
               </div>
               <div class="tabsLeft">left</div>
               <!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
               <div class="tabsRight">right</div>
               <!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
               <div class="tabsMore">more</div>
            </div>
            <ul class="tabsMoreList">
               <li>
                  <a href="javascript:void(0)">主页</a>
               </li>
            </ul>
            <div class="navTab-panel tabsPageContent layoutBox">
               <div class="page unitBox">
                  <div class="accountInfo">
                     <div class="right">
                        <p>
                           <fmt:formatDate value="<%=new Date()%>" pattern="yyyy-MM-dd EEEE" />
                        </p>
                     </div>
                     <p>
                        <span>欢迎, ${login_user.username } .</span>
                     </p>
                  </div>
                  <style>
                    dt{float:left;width:39%;padding:0}
                    .pageFormContent dt{padding:0;width:155px;}
                    .pageFormContent dl{padding:0}
                    dd{float:left;width:60%;padding:0}
                    dl{width:49%;float:left}
                  </style>
                  <div class="pageFormContent" layouth="80">
                     <fieldset>
                        <legend>基本信息</legend>
                        <dl>
                           <dt>登录名称：</dt>
                           <dd>
                              <span class="unit">${login_user.username }</span>
                           </dd>
                        </dl>
                        <dl>
                           <dt>真实名字：</dt>
                           <dd>
                              <span class="unit">${login_user.username }</span>
                           </dd>
                        </dl>
                        <dl>
                           <dt>所属机构：</dt>
                           <dd>
                              <span class="unit">${login_user.username }</span>
                           </dd>
                        </dl>
                     </fieldset>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
   <div id="footer">Copyright &copy; 2012-2014 yami, All Rights Reserve.</div>
</body>
</html>